package com.yidu.hbats.dao;

import com.yidu.hbats.model.AtsEmpCoachAthlete;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface AtsEmpCoachAthleteMapper {
    /**
     *
     * @mbg.generated 2019-10-29
     */
    int deleteByPrimaryKey(Integer caId);

    /**
     *
     * @mbg.generated 2019-10-29
     */
    int insert(AtsEmpCoachAthlete record);

    /**
     *
     * @mbg.generated 2019-10-29
     */
    int insertSelective(AtsEmpCoachAthlete record);

    /**
     *
     * @mbg.generated 2019-10-29
     */
    AtsEmpCoachAthlete selectByPrimaryKey(Integer caId);

    /**
     *
     * @mbg.generated 2019-10-29
     */
    int updateByPrimaryKeySelective(AtsEmpCoachAthlete record);

    /**
     *
     * @mbg.generated 2019-10-29
     */
    int updateByPrimaryKey(AtsEmpCoachAthlete record);

    /**
     * 查询所有 带分页
     * @param atsEmpCoachAthlete
     * @return
     */
    List<AtsEmpCoachAthlete> selectAll(AtsEmpCoachAthlete atsEmpCoachAthlete);


    /**
     * 查询行数
     * @param atsEmpCoachAthlete
     * @return
     */
    int selectCount(AtsEmpCoachAthlete atsEmpCoachAthlete);

    /**
     * 查询所有 不带分页
     * @param atsEmpCoachAthlete
     * @return
     */
    List<AtsEmpCoachAthlete> findAll(AtsEmpCoachAthlete atsEmpCoachAthlete);
}